#include <stdio.h>
#include <string.h>
#define SIZE 100
#define MAX 100

void count_sort(int *arr,int n)
{
	int count[MAX];
	memset(count,0,sizeof(count));
	for(int i = 0;i < n;i++)
	{
		count[arr[i]]++;
	}
	int k = 0;
	for(int i = 0;i < MAX;i++)
	{
		for(int j = 0;j < count[i];j++)
		{
			arr[k++] = i;
		}
	}
}

int main()
{
	int arr[SIZE];
	for(int i = 0;i < SIZE;i++)
	{
		scanf("%d",&arr[i]);
	}
	count_sort(arr,SIZE);
	for(int i = 0;i < SIZE;i++)
	{
		printf("%d ",arr[i]);
	}
	printf("\n");
	return 0;
}
